for word in "Python":
    if word=='o':
        break
    print(word,end=" ")